<?php
//constant
define("XFRAMEWORK_DIR", dirname(__FILE__));
define("PROJECT_ROOT", preg_replace("/[^\/\\\]+$/i", "", dirname(__FILE__))."project");
define("DOCUMENT_ROOT", $_SERVER['DOCUMENT_ROOT']);
//require application
require(XFRAMEWORK_DIR . "/core/util/functions.php");
require(XFRAMEWORK_DIR . "/core/context/XObject.php");
require(XFRAMEWORK_DIR . "/core/context/XApplication.php");
?>